/**
 * 
 */
package events;

import wdmsim.Node;
import controlPlane.Handler;

/**
 * @author alissonslp
 *
 */
public abstract class Event {

	public long time;
	public Handler handler;
	protected static long eventCounter;
	protected long id;
	public Node generator;

	public long getId() {
		return id;
	}

	public Handler getHandler() {
		return handler;
	}

	public void setHandler(Handler handler) {
		this.handler = handler;
	}

	public long getTime() {
		return time;
	}

	public void setTime(long time) {
		this.time = time;
	}

	public Node getGenerator() {
		return generator;
	}

	public void setGenerator(Node generator) {
		this.generator = generator;
	}
	
	public String toString() {
        return "Event: ";
    }

}
